package com.lagou.edu.dao;

import com.lagou.edu.pojo.AuthCode;
import com.lagou.edu.pojo.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AuthCodeDao extends JpaRepository<AuthCode,Long> {

    AuthCode findByEmail(String email);
}
